package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 金蝶-财务模块-其他往来单位对象 erp_king_base_transactions_company_info
 *
 * @author wutao
 * @date 2024-06-22
 */
@TableName ( "erp_king_base_transactions_company_info" )
@ApiModel ( value = "erp_king_base_transactions_company_info对象", description = "金蝶-财务模块-其他往来单位" )
@Data
public class KingBaseTransactionsCompanyEntity extends BaseVo {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId ( value = "id", type = IdType.INPUT )
    private String id;

    /**
     * 所属公司
     */
    @ApiModelProperty ( "所属公司" )
    @TableField ( "dept_id" )
    @Excel ( name = "所属公司" )
    private String deptId;

    /**
     * 编码
     */
    @ApiModelProperty ( "编码" )
    @TableField ( "company_code" )
    @Excel ( name = "编码" )
    private String companyCode;

    /**
     * 名称
     */
    @ApiModelProperty ( "名称" )
    @TableField ( "title" )
    @Excel ( name = "名称" )
    private String title;

    /**
     * 数据状态;1:创建;2:审核中;3:已审核
     */
    @ApiModelProperty ( "数据状态;1:创建;2:审核中;3:已审核" )
    @TableField ( "data_status" )
    @Excel ( name = "数据状态;1:创建;2:审核中;3:已审核" )
    private Integer dataStatus;

    /**
     * 是否禁用;1:是;2:否
     */
    @ApiModelProperty ( "是否禁用;1:是;2:否" )
    @TableField ( "is_disabled" )
    @Excel ( name = "是否禁用;1:是;2:否" )
    private Integer isDisabled;

    /**
     * 描述
     */
    @ApiModelProperty ( "描述" )
    @TableField ( "company_desc" )
    @Excel ( name = "描述" )
    private String companyDesc;

    /**
     * 是否可用
     */
    @ApiModelProperty ( "是否可用" )
    @TableField ( "is_send" )
    @Excel ( name = "是否可用" )
    private Integer isSend;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("更新人")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private Date updateTime;

    /**
     * 是否可用
     */
    @ApiModelProperty ( "是否可用" )
    @TableField ( "is_used" )
    @Excel ( name = "是否可用" )
    private Integer isUsed;

    @ApiModelProperty ("是否可用")
    @TableField ("is_del")
    @Excel (name = "是否可用")
    private Integer isDel;

}
